package test;

import org.apache.commons.codec.EncoderException;
import org.apache.commons.codec.net.URLCodec;

public class DBtest {
	public static void main(String[] args) throws EncoderException {
		String content=Tool.Crawler.getContent("http://www.letao.com/shoe-adidas-724385985-G49046");
		//content=content.replaceAll("(<[^>]+>)|(&nbsp;)|(\n)|(\n\r)", "");
		content=content.replaceAll("(<[^>]+>)|(\\s*)|(&nbsp;)", "");
		System.out.println(content);
	}
}
